//
//  Phone.m
//  ocDay1_类和对象
//
//  Created by dllo on 16/5/20.
//  Copyright © 2016年 lanou. All rights reserved.
//

#import "Phone.h"

@implementation Phone

-(void)smallPhone{
    NSLog(@"我是手机");
}

+(void)bigPhone{
    NSLog(@"我也是手机");
}

-(void)textOneWithName:(NSString *)name{
    NSLog(@"我的姓名是%@",name);
}
//两个参数的写法
-(void)textTwoWithName:(NSString *)name withAge:(NSInteger)age{

    NSLog(@"%@  %ld",name ,age);
}



//实例变量赋值
-(void)myInput{
    _number = 18;
    _color = @"蓝色";
    _brand = @"诺基亚1110";
}
-(void)myPrint{
    NSLog(@"%ld %@ %@",_number ,_color ,_brand);
}


@end
